package view;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class FrmSelecionaQuarto extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FrmSelecionaQuarto frame = new FrmSelecionaQuarto();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FrmSelecionaQuarto() {
		setTitle("Quarto");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 278, 242);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JButton btnCadastrarQuartos = new JButton("Cadastrar Quartos");
		btnCadastrarQuartos.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				FrmCadQuarto formCad = new FrmCadQuarto();
				formCad.setVisible(true);
			}
		});
		btnCadastrarQuartos.setFont(new Font("Tahoma", Font.PLAIN, 21));
		btnCadastrarQuartos.setBounds(10, 11, 241, 86);
		contentPane.add(btnCadastrarQuartos);
		
		JButton btnAtualizarQuartos = new JButton("Atualizar Quartos");
		btnAtualizarQuartos.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				FrmQuarto formCad = new FrmQuarto();
				formCad.setVisible(true);
			}
		});
		btnAtualizarQuartos.setFont(new Font("Tahoma", Font.PLAIN, 21));
		btnAtualizarQuartos.setBounds(10, 108, 241, 89);
		contentPane.add(btnAtualizarQuartos);
	}

}
